package com.gzz.orchid.context.application.rbac;

import com.gzz.orchid.common.core.tuple.Option;
import com.gzz.orchid.context.application.rbac.pojo.RoleDto;
import com.gzz.orchid.context.application.rbac.pojo.RoleVo;
import com.gzz.orchid.context.application.rbac.queries.RoleQuery;

import java.util.List;

/**
 * @author higmd
 */
public interface IRoleHandler {
    List<RoleDto> listByPager(RoleQuery query);

    List<RoleDto> list(RoleQuery query);

    RoleVo detail(Long id);

    List<Option<String>> options();
}
